package ycl.system.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ycl.common.models.req.BaseReq;

import javax.validation.constraints.NotBlank;

/**
 * 用户完善信息
 *
 * @author ycl
 * @date 2022/6/26 0026 0:07:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserPrefectReq extends BaseReq {

	@ApiModelProperty(value = "用户名", required = true)
	@NotBlank(message = "请输入用户名")
	private String username;

	@ApiModelProperty(value = "真实名", required = true)
	@NotBlank(message = "请输入真实姓名")
	private String realName;

	@ApiModelProperty(value = "身份证", required = true)
	@NotBlank(message = "请输入身份证")
	private String idCard;

	@ApiModelProperty(value = "手机号", required = true)
	@NotBlank(message = "请输入手机号")
	private String mobile;

	@ApiModelProperty("用户头像")
	private String avatar;
}
